
.middle {
	margin-top: 50px;
	border-radius: 5px;
	box-shadow: 0px 10px 15px 0.1px rgba(0, 0, 0, 0.2);
	margin-bottom: 50px;
	background-color: white;
	padding-top: 10px;
	padding-bottom: 10px;
}

.options {
	height: 100px;
	border-radius: 10px;
	padding: 0;
}

/* 下拉菜单动画效果 */
.dropdown-menu {
	display: block;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
}

.btn-style{
	background-color: white;
	border: none;
	color: black;
	padding-left: 10px;
	padding-right: 10px;
	transition: all 0.3s ease;
	border-radius: 30px 30px 30px 30px;
}
.btn-style:hover{
	background-color: rgba(0, 0, 0, 0.2);
	color: black;
}
.dropdown-menu.show {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

/* 可选：为下拉项添加悬停效果 */
.dropdown-item:hover {
	background-color: #f8f9fa;
	transition: transform 0.2s ease;
}

.tagBox{
	line-height: 25px;
}

.tagBox input{
	width: 20px;
	height: 20px;
	vertical-align: middle;
	margin-right: 5px;
}
.tagBox p{
	display: inline-block;
	margin-right: 5px;
}
.goods {
	border-radius: 10px;
	margin-bottom: 20px;
}

.goods-info {
	border-radius: 10px;
	padding: 7px;
	transition: all 0.3s ease;
}

.goods-info:hover{
	box-shadow: 0px 10px 15px 0.1px rgba(0, 0, 0, 0.2);
}

.goods-info p{
	margin-bottom: 0;
	margin-top: 15px;
	white-space: normal; /* 或者 pre-wrap，取决于你的需求 */
	overflow-wrap: break-word;
}
/* 新增商品卡片样式 */
.goods-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: 100%;
    background: white;
    border: 1px solid #f0f0f0;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

.goods-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.goods-img-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.goods-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.goods-card:hover .goods-img {
    transform: scale(1.05);
}

.goods-info {
    padding: 15px;
}

.goods-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px;
    line-height: 1.5;
}

.goods-price {
    color: #ff4d4f;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.goods-desc {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.seller-info {
    display: flex;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.seller-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.seller-name {
    font-size: 13px;
    color: #666;
}

/* 优化筛选区域 */
.options {
    padding: 20px 0;
    border-radius: 10px;
    margin-bottom: 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tagBox {
    display: inline-block;
    margin-left: 20px;
}

.tagBox p {
    display: inline-block;
    margin-right: 15px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.tagBox input {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
    cursor: pointer;
}

/* 骨架屏加载动画 */
@keyframes shimmer {
    0% { background-position: -468px 0 }
    100% { background-position: 468px 0 }
}

.skeleton {
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, #f6f7f8 8%, #edeef1 18%, #f6f7f8 33%);
    background-size: 800px 104px;
    position: relative;
    border-radius: 4px;
}

/* 骨架屏商品卡片 */
.skeleton-card {
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.skeleton-img {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
}

.skeleton-line {
    height: 12px;
    margin: 0 15px 10px;
    border-radius: 4px;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.medium {
    width: 80%;
}

.skeleton-price {
    height: 18px;
    width: 40%;
    margin: 15px 15px;
    border-radius: 4px;
}

.skeleton-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin: 15px 15px 15px 0;
    display: inline-block;
    vertical-align: middle;
}

.skeleton-name {
    height: 12px;
    width: 60%;
    display: inline-block;
    vertical-align: middle;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}